const routes = [{
        // 商品列表
        path: '/goodsManageList',
        name: 'goodsManageList',
        component: () => import('../../views/GoodsManageList.vue'),
        meta: {
            required: true,
            role: ['admin', 'user']
        }
    },
    {
        // 发布商品
        path: '/goodsManageAdd',
        name: 'goodsManageAdd',
        component: () => import('../../views/GoodsManageAdd.vue'),
        meta: {
            required: true,
            role: ['admin', 'user']
        }
    }
];
export default routes;